home *** CD-ROM | disk | FTP | other *** search
- Path: news.cern.ch!danpop
- From: danpop@mail.cern.ch (Dan Pop)
- Newsgroups: comp.lang.c
- Subject: Re: May fprintf () be recursive?
- Date: 19 Apr 96 12:21:05 GMT
- Organization: CERN European Lab for Particle Physics
- Message-ID: <danpop.829916465@news.cern.ch>
- References: <4l5f9s$ad3@news.cs.tu-berlin.de> <danpop.829848211@news.cern.ch> <4l7ip9$r8r@news.cs.tu-berlin.de>
- NNTP-Posting-Host: ues5.cern.ch
- Mime-Version: 1.0
- Content-Type: text/plain; charset=US-ASCII
- Content-Transfer-Encoding: 7bit
- X-Newsreader: NN version 6.5.0 #18 (NOV)
-
- In <4l7ip9$r8r@news.cs.tu-berlin.de> ulrich@cs.tu-berlin.de (Ulrich Wittenberg) writes:
-
-
- >I'm sorry, recursion was the wrong word. The question should have
- >been:
- >
- >Is fprintf reentrant?
-
- 1. Reentrancy is a non-issue for your problem.
-
- 2. fprintf is not reentrant (like the bulk of the standard library
- functions). This is why you're not allowed to call fprintf in a
- signal handler.
-
- Dan
- --
- Dan Pop
- CERN, CN Division
- Email: danpop@mail.cern.ch
- Mail: CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland
-